import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

// 在Vue实例上添加router对象
let vm = new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
Object.prototype.vm = function(){
  return vm
}
//vm().$options.router.data.current = '/about'